<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/2/16
  Time: 18:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>公寓系统 - 房屋信息添加</title>
	<link rel="stylesheet" href="../../css/main.css">
	<link rel="stylesheet" href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
	<h3>添加房屋信息</h3>
	<form action="<c:url value="/user/houseAdd?pageNo=${pageUtil.pageNo}"/>" method="post">
	<table class="form-table">
		<tr>
			<td>所属地区</td>
			<td colspan="3" class="control">
				<input type="text" name="haddress" placeholder="填写地区" >
			</td>
		</tr>
		<tr>
			<td>楼层</td>
			<td colspan="3" class="control">
				<input type="text" name="hfloor" placeholder="楼层">
			</td>
		</tr>
		<tr>
			<td>房间数</td>
			<td colspan="3" class="control">
				<input type="text" name="hroomNum" placeholder="房间数" >
			</td>
		</tr>
		<tr>
			<td>地址</td>
			<td colspan="3" class="control">
				<input type="text" name="harea" placeholder="地址">
			</td>
		</tr>
		<tr>
			<td>面积</td>
			<td colspan="3" class="control">
				<input type="text" name="hdir" placeholder="面积">
			</td>
		</tr>
		<tr>
			<td>装修</td>
			<td colspan="3" class="control">
				<input type="text" name="hdeco" placeholder="装修" >
			</td>
		</tr>
		<tr>
			<td>空气质量</td>
			<td colspan="3" class="control">
				<input type="text" name="hair" placeholder="空气" >
			</td>
		</tr>
		<tr>
			<td>价格</td>
			<td colspan="3" class="control">
				<input type="text" name="hprice" placeholder="价格">
			</td>
		</tr>
		<tr>
			<td>出租状态</td>
			<td colspan="3" class="control">
				<input type="text" name="hrentStatus" placeholder="出租状态">
			</td>
		</tr>
		<tr>
			<td>图片</td>
			<td colspan="3" class="control">
				<input type="text" name="himage" placeholder="图片" >
			</td>
		</tr>
		<tr>
			<td>添加时间</td>
			<td colspan="3" class="control">
				<input type="date" name="haddTime" placeholder="添加时间" >
			</td>
		</tr>
		<tr>
			<td>更新时间</td>
			<td colspan="3" class="control">
				<input type="date" name="hupdateTime" placeholder="更新时间" >
			</td>
		</tr>
		<tr>
			<td><span>${err}</span></td>
		</tr>
	</table>
	<div class="buttons">
		<input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
		<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
	</div>
	</form>
</div>
</body>
</html>